How can I correctly use a UNION query to join two MySQL tables

welcome to shbcf.ru